pub fn dp_rec_mc(amount: u32) -> u32 {
    let banknote: [u32; 8] = [100, 50, 30, 20, 10, 5, 2, 1];
    let mut amount = amount;
    let mut result = 0;
    for i in banknote {
        result += amount / i;
        amount %= i;
    }
    return result;
}
